home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 January / EnigmA AMIGA RUN 24 (1997)(G.R. Edizioni)(IT)[!][issue 1998-01 & 02].iso / EARCD / DEMO / MSE-DEMO / definitions / Test / Test.def
Text File  |  1997-06-19  |  5KB  |  384 lines

  1. Define Device (
  2.     Manufacturer "Test"
  3.     Device "Test"
  4.     CharSet (
  5.         az2AZ
  6.         Disable (
  7.             ' !   #   %   &   (   )   :   ;   ?   @   [   ]   ^   ` {|}~
  8.             $21 $23 $25 $26 $28 $29 $3A $3B $3F $40 $5B $5D $5E $60 $7B-$7E
  9.         )
  10.         Remap (
  11.             $3C to $28 ' < (
  12.             $3E to $29 ' > )
  13.         )
  14.     )
  15.     NoteRange 20 50
  16. )
  17.  
  18. Define Usage (
  19.     "Important usage information"
  20.     "can be defined as well!"
  21.     "------------------------------------"
  22.     "It's a great way to remind yourself"
  23.     "about things you need to remember"
  24.     "about each module!"
  25. )
  26.  
  27. Define Font "Topaz2" (
  28.     Name "Topaz2.font"
  29.     Size 8
  30. )
  31.  
  32. Define Font "Garnet" (
  33.     Name "Garnet.font"
  34.     Size 16
  35.     Style ( BOLD )
  36. )
  37.  
  38. Define Font "Numbers" (
  39.     Name "Topaz2N.font"
  40.     Size 8
  41. )
  42.  
  43. Define Font "Helvetica" (
  44.     Name "Helvetica.font"
  45.     Size 9
  46. )
  47.  
  48. Define Font "Topaz2p" (
  49.     Name "Topaz2p.font"
  50.     Size 8
  51. )
  52.  
  53. 'Set Font "Topaz2"
  54.  
  55. Define Window "Main" (
  56.     Position 10 19
  57.     Size 340 200
  58.     Border
  59. )
  60.  
  61. Define Window "Second" (
  62.     Position 350 16
  63.     Size 250 250
  64. )
  65.  
  66. Define Window "Third" (
  67.     Position 10 240
  68.     Size 250 150
  69.     Border
  70. )
  71.  
  72. Define Window "Draggable" (
  73.     Position 330 290
  74.     Size 300 100
  75.     DragBar
  76. )
  77.  
  78. Define Link "SliderTextTest" (
  79.     Type Texts (
  80.         Font "Helvetica"
  81.         Position 0 19
  82.         Size 100 8
  83.         Data (
  84.             "1"
  85.             "Neeto!"
  86.             "Special Gadget"
  87.             "Sting"
  88.             "5"
  89.             "Perfect for me"
  90.         )
  91.     )
  92. )
  93.  
  94. Define Link "EQ_Gain" (
  95.     Type Numbers (
  96.         Font "Helvetica"
  97.         Position 0 -12
  98.         Size 100 8
  99.         MinValue -12
  100.         Skip .1
  101.         LevelText "dB"
  102.     )
  103. )
  104.  
  105. Define Link "Note" (
  106.     Type Note (
  107.         Font "Numbers"
  108.         Position 0 -12
  109.         Size 100 8
  110.     )
  111. )
  112.  
  113. Define Link "Auto-E" (
  114.     Type ARexx (
  115.         File "modules/Test/Test.rexx"
  116.     )
  117. )
  118.  
  119. 'Define Link "Auto-Int"
  120. '    Type ARexx (
  121. '        String "SetGad 1 50"
  122. '    )
  123. ')
  124.  
  125.  
  126. Window "Main" (
  127.     Border (
  128.         Position 10 10
  129.         Size 320 180
  130.         Frame 3D-Recess
  131.     )
  132.  
  133.     Border (
  134.         Position 233 20
  135.         Size 38 26
  136.         Fill 1
  137.         Frame None
  138.     )
  139.     Border (
  140.         Position 271 20
  141.         Size 38 26
  142.         Fill 3
  143.         Frame None
  144.     )
  145.  
  146.     Text "ABCDEFGHIJK" (
  147.         Position 240 35
  148.         Font "Numbers"
  149.         Color 2
  150.     )
  151.  
  152.     Gadget "1" (
  153.         Position 20 60
  154.         Font "Numbers"
  155.         Type Slider (
  156.             Range 0 127
  157.             Default 5
  158.             Size 100 12
  159.             Direction HORIZONTAL
  160.             LevelPlace RIGHT
  161.         )
  162.     )
  163.  
  164.     Gadget "2" (
  165.         Position 20 72
  166.         Font "Numbers"
  167.         Type Slider (
  168.             Range 0 127
  169.             Default 110
  170.             Size 100 12
  171.             Direction HORIZONTAL
  172.             LevelPlace RIGHT
  173.         )
  174.     )
  175.  
  176.     Gadget "3" (
  177.         Position 20 84
  178.         Font "Numbers"
  179.         Type Slider (
  180.             Range 0 127
  181.             Default 42
  182.             Size 100 12
  183.             Direction HORIZONTAL
  184.             LevelPlace RIGHT
  185.         )
  186.     )
  187.  
  188.     Gadget "4" (
  189.         Position 20 96
  190.         Font "Numbers"
  191.         Type Slider (
  192.             Range 0 127
  193.             Default 10
  194.             Size 100 12
  195.             Direction HORIZONTAL
  196.             LevelPlace RIGHT
  197.         )
  198.     )
  199.  
  200.     Gadget "5" (
  201.         Position 20 108
  202.         Font "Numbers"
  203.         Type Slider (
  204.             Range 0 127
  205.             Default 127
  206.             Size 100 12
  207.             Direction HORIZONTAL
  208.             LevelPlace RIGHT
  209.         )
  210.     )
  211.  
  212.     Gadget "ARexxTest1" (
  213.         Position 20 45
  214.         Type Button (
  215.             Label "Automate"
  216.             Size 100 12
  217.             Link "Auto-E"
  218.         )
  219.     )
  220.  
  221.     Gadget "TextTest" (
  222.         Position 180 80
  223.         Type Slider (
  224.             Range 0 4
  225.             Size 100 15
  226.             Direction HORIZONTAL
  227.             Default 2
  228.             Link "SliderTextTest"
  229.         )
  230.     )
  231.  
  232.     Gadget "A" (
  233.         Position 180 140
  234.         Font "Numbers"
  235.         Type Slider (
  236.             Range 0 200
  237.             Default 51
  238.             Size 100 10
  239.             Direction HORIZONTAL
  240.             Link "EQ_Gain"
  241.         )
  242.     )
  243. )
  244.  
  245. Window "Second" (
  246.     Border (
  247.         Position 20 10
  248.         Size 150 150
  249.         Fill 3
  250.     )
  251.  
  252.     Gadget "Borna" (
  253.         Position 200 60
  254.         Font "Numbers"
  255.         Type Slider (
  256.             Range 10 99
  257.             Size 15 100
  258.             Direction VERTICAL
  259.             LevelPlace BELOW
  260.             LevelText "goombas"
  261.         )
  262.     )
  263.  
  264.     Gadget "Cycla" (
  265.         Position 80 60
  266.         Type Cycle (
  267.             Width 3
  268.             Data (
  269.                 "OFF"
  270.                 "ON"
  271.                 "YES"
  272.             )
  273.         )
  274.     )
  275.  
  276.     Gadget "Cyclab" (
  277.         Position 80 80
  278.         Type Cycle (
  279.             Width 3
  280.             Data (
  281.                 "One"
  282.                 "Two"
  283.                 "Three"
  284.             )
  285.             DataValues (
  286.                 3 7 $12
  287.             )
  288.         )
  289.     )
  290.  
  291.     Gadget "Name" (
  292.         Position 40 115
  293.         Font "Topaz2"
  294.         Type String (
  295.             MaxChars 10
  296.         )
  297.     )
  298.  
  299.     Text DEVICE (
  300.         Position 40 35
  301.         Font "Garnet"
  302.     )
  303. )
  304.  
  305. Window "Third" (
  306.     Gadget "ListTest" (
  307.         Position 10 10
  308.         Type List (
  309.             Size 150 100
  310.             Data (
  311.                 "Item 0 - FIRST"
  312.                 "Item 1"
  313.                 "Item 2"
  314.                 "Item 3"
  315.                 "Item 4"
  316.                 "Item 5"
  317.                 "Item 6"
  318.                 "Item 7"
  319.                 "Item 8"
  320.                 "Item 9"
  321.                 "Item 10"
  322.                 "Item 11"
  323.                 "Item 12"
  324.                 "Item 13"
  325.                 "Item 14"
  326.                 "Item 15"
  327.                 "Item 16"
  328.                 "Item 17 - LAST"
  329.             )
  330.             Default 15
  331.         )
  332.     )
  333. )
  334.  
  335. Window "Draggable" (
  336.     Text "Drag me!" (
  337.         Position 20 35
  338.         Font "Garnet"
  339.         Color 2
  340.         Shadow
  341.     )
  342.  
  343.     Gadget "6" (
  344.         Position 20 80
  345.         Font "Topaz2"
  346.         Type Slider (
  347.             Range 0 200
  348.             Size 160 12
  349.             Direction HORIZONTAL
  350.             LevelPlace RIGHT
  351.             LevelText "ms"
  352.             Default 40
  353.         )
  354.     )
  355.  
  356.     Gadget "MX" (
  357.         Position 180 16
  358.         Font "Topaz2p"
  359.         Type MX (
  360.             Data (
  361.                 "Mutually"
  362.                 "Exclusive"
  363.                 "Gadget"
  364.                 "Type"
  365.             )
  366.             Spacing 2
  367.             LabelPlace RIGHT
  368.         )
  369.     )
  370.  
  371.     Gadget "Note" (
  372.         Position 79 62
  373. '        Font "Topaz2p"
  374.         Type Slider (
  375.             Range 0 127
  376.             Size 100 12
  377.             Direction HORIZONTAL
  378.             LevelPlace RIGHT
  379.             Default 40
  380.             Link "Note"
  381.         )
  382.     )
  383. )
  384.